package modules.componentpanel.htmlcomponents
{
	import spark.layouts.BasicLayout;

	public class HTMLBasicLayout extends HTMLLayoutBase
	{

		public function HTMLBasicLayout()
		{
			super();
			this.setStyle("borderColor", GlobalConfig.LAYOUT_BORDER_COLOR_RED);
			this.setStyle("borderWeight", "1");
			this.percentWidth=100;
			this.percentHeight=100;
			var layout:BasicLayout=new BasicLayout();
			this.layout=layout;
		}

		override public function get data():Object
		{
			if (_data == null)
			{
				_data=new Object();
				_data.name=GlobalConfig.ICON_BUTTON_BASIC_LAYOUT;
				_data.type=GlobalConfig.LAYOUT_TYPE_BASIC;
				_data.width="100%";
				_data.height="100%";
			}
			return this._data;
		}
	}
}
